package com.hqyj.excepiton;

import lombok.Data;

/**
 * 项目:exam-springboot-230701
 * 描述:
 * 时间:2023/10/7 15:55
 * 作者:admin
 * 版本:1.0
 **/
@Data
public class PowerException extends Exception {

    //状态码
    private Integer code;
    //提示信息(用户提示)
    private String msg;
    //提示信息(程序员)
    private String info;

    public PowerException(Integer code, String msg, String info) {
        this.code = code;
        this.msg = msg;
        this.info = info;
    }

}